export type OptionItem = {
  label: string;
  value: string;
};

export type ComponentProps = {
  title?: string;
  isVertical?: boolean;
  options?: OptionItem[];
  value?: string;
};

const options = [
  { label: '选项1', value: '1' },
  { label: '选项2', value: '2' },
  { label: '选项3', value: '3' },
];

export const defaultProps: ComponentProps = {
  title: '单选标题',
  isVertical: false,
  options,
  value: options[0].value,
};
